package com.dragon.modules.yuegou.excel.company;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\company\\employee.xlsx")
public class EmployeeWorkbook {
	@ExcelSheet
	@JsonProperty("员工信息")
	private List<EmployeeRow> employees;

	public static class EmployeeRow {

		@JsonProperty("单位名称")
		private String companyName;

		@JsonProperty("姓名")
		private String name;
		
		@JsonProperty("联系电话")
		private String phone;

		public String getCompanyName() {
			return companyName;
		}

		public void setCompanyName(String companyName) {
			this.companyName = companyName;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

	}

	public List<EmployeeRow> getEmployees() {
		return employees;
	}

	public void setEmployees(List<EmployeeRow> employees) {
		this.employees = employees;
	}

}
